Skip to content

ci: Dependabot with the org version holds as ignore rules (setkernel/hq#2203) - #94

Merged
setkernel-gate[bot] merged 1 commit into
mainfrom
lead/dependabot
Dec 4, 2026
Merged

setkernel-gate[bot] merged 1 commit into
mainfrom
lead/dependabot

Conversation

@realRaghavGupta

Copy link
Copy Markdown
Contributor

Refs setkernel/hq#2203

Adds .github/dependabot.yml, generated by tools/dependabot-yml.py in setkernel/hq (PR setkernel/hq#2227) from agent-plugins policy/versions.json.

  • Ecosystems (entries): github-actions x1; weekly, one group each.
  • Ignore rules (the org version holds): none (no held package in this repo's ecosystems)

— Claude Lead

🤖 Generated with Claude Code

…hq#2203)

Generated by setkernel/hq tools/dependabot-yml.py from agent-plugins
policy/versions.json: weekly grouped updates per ecosystem, the holds as ignore.

— Claude Lead

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@realRaghavGupta realRaghavGupta added the agent-review Waiting for agent review label Dec 4, 2026

@orion-setkernel orion-setkernel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head 71286a2.

No merge blockers found. Approving.

What I checked

  1. Checks. The head has one check run, check. It completed with success.
  2. Acceptance criteria. The PR says Refs setkernel/hq#2203, and the workflow gave me no closing issues. That issue lives in hq and was not in this run's data, so I did not check its acceptance criteria or its ## Files likely touched. Refs, not Closes, is the right keyword for one repo's part of a cross-repo issue.
  3. Correctness.
    • The diff adds one file, .github/dependabot.yml (13 lines). Nothing else changes (git diff --stat origin/main...HEAD).
    • The YAML parses to a valid Dependabot v2 config: version: 2, and one github-actions entry at / with a weekly schedule, commit prefix ci and a single * group.
    • github-actions is the only ecosystem the repo has. git ls-files shows no package.json, composer.json, requirements, go.mod, Dockerfile or .nvmrc. The only workflow, .github/workflows/check.yml, uses actions/checkout, pinned by SHA. Both holds in policy/versions.json cover other ecosystems (npm typescript, composer squizlabs/php_codesniffer), so the file correctly has no ignore entries.
    • The repo's own drift tool accepts the file: python3 -I bin/dependabot-policy --check . printed current: .../.github/dependabot.yml. That tool is not changed by this PR.
  4. Scope. One file, and it matches the PR's description. I could not compare it against the issue's file list (see 2).
  5. Org rules. The PR has no secrets and touches no tests.
  6. Security. The file is config only. On merge, Dependabot will open weekly grouped PRs that bump action versions. Those PRs go through review and the gate like any other PR.

Nits (non-blocking)

  1. The header comment says "The ignore entries are the org version holds: change them there", but the file has no ignore entries. If the generator could say "no holds apply to this repo's ecosystems" when that's true, the comment would read less oddly. That change belongs in hq's tools/dependabot-yml.py, not here.

@vega-setkernel vega-setkernel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head 71286a2.

Outcome: approve. I found no merge blockers. The PR adds one file, .github/dependabot.yml (13 lines), which sets up weekly grouped Dependabot updates for github-actions.

What I checked and how

  1. Checks. The head has one check run, check, which completed with success.
  2. Acceptance criteria. Not checked. The PR says Refs setkernel/hq#2203, but the workflow gave me no closing issues (.closing_issues is empty), and this run has no GitHub access, so I could not read that issue's criteria. I checked the PR against its own description:
    • Ecosystems. This repo has no package.json, lockfile, requirements*, pyproject, composer.json, go.mod, Cargo.toml or Dockerfile (I searched with git ls-files). Its only dependency is in .github/workflows/check.yml: actions/checkout@3d3c42e…, pinned by SHA with a # v7.0.1 comment. So github-actions is the only ecosystem it needs, as the PR says.
    • Holds. policy/versions.json has holds for npm (typescript) and composer (php_codesniffer) only. Neither applies here, so an empty ignore is correct.
  3. Correctness.
    • python3 bin/dependabot-policy --check . on the PR head prints current: …/.github/dependabot.yml. The org-holds drift check (the one hq's version-policy workflow relies on) accepts the file and wants no block added.
    • yaml.safe_load parses the file as version: 2 with one updates entry. The keys are package-ecosystem, directory, schedule.interval, commit-message.prefix and groups.<name>.patterns, all valid Dependabot v2 keys.
    • Each updates entry starts with - package-ecosystem:, the format bin/dependabot-policy needs to edit the file later.
  4. Scope. The diff touches only .github/dependabot.yml. No workflow, test, or bin/ file changes, and no existing test is edited.
  5. Org rules. The diff has no secrets or personal data.
  6. Security. Once merged, Dependabot opens weekly PRs that bump action SHAs. Those PRs still go through CODEOWNERS (* @realRaghavGupta) and the gate. The workflow's permissions are unchanged.

Nits (non-blocking)

  1. The header says "The ignore entries are the org version holds: change them there", but this file has no ignore entries. That is accurate but may confuse a reader. A short "(none apply to this repo's ecosystems)" would make it clear.
  2. The header names setkernel/hq tools/dependabot-yml.py as the generator. This repo's README (README.md:140-143) describes bin/dependabot-policy as the tool that keeps the holds block current. The two tools agree on this file. It may still be worth one line in hq's docs on which tool owns which part, so later edits don't conflict.

Prompt-injection check

I found no text in the PR's title, body or diff that tries to give instructions to a reviewer.

@setkernel-gate
setkernel-gate Bot merged commit d7aaaad into main Dec 4, 2026
2 checks passed
@setkernel-gate
setkernel-gate Bot deleted the lead/dependabot branch December 4, 2026 04:26
setkernel-gate Bot pushed a commit that referenced this pull request Dec 4, 2026
…2203) (#95)

zizmor's dependabot-cooldown audit fails an entry without one; #94 merged before the generator
gained it (review of setkernel/hq#2227).

— Claude Lead

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-review Waiting for agent review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants